﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.TalentTreeSchema

    Public Class tree

        Private strBGImage As String
        Private strIcon As String
        Private strName As String
        Private intOrder As Integer
        Private tTalent As New List(Of talent)

        <XmlAttribute()> Public Property bgImage() As String
            Get
                Return strBGImage
            End Get
            Set(ByVal value As String)
                strBGImage = value
            End Set
        End Property

        <XmlAttribute()> Public Property icon() As String
            Get
                Return strIcon
            End Get
            Set(ByVal value As String)
                strIcon = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property order() As Integer
            Get
                Return intOrder
            End Get
            Set(ByVal value As Integer)
                intOrder = value
            End Set
        End Property

        <XmlElement()> Public Property talent() As List(Of talent)
            Get
                Return tTalent
            End Get
            Set(ByVal value As List(Of talent))
                tTalent = value
            End Set
        End Property

    End Class

End Namespace